import { Alova } from '@/utils/http/alova/index';

//获取table
export function getInformation(params: any) {
  return Alova.Post('/admin/information', params);
}

export function putInformation(params: any) {
  return Alova.Put('/admin/information', params);
}

export function patchInformation(params: any) {
  return Alova.Patch('/admin/information', params);
}

export function getInformationInfo(id: number) {
  return Alova.Get('/admin/information/' + id);
}

export function deleteInformation(id: number) {
  return Alova.Delete('/admin/information/' + id);
}
